package com.jrx.anytxn.transaction.mapper.ext;

import com.jrx.anytxn.transaction.entity.TlLoanFailLog;
import com.jrx.anytxn.transaction.mapper.base.TlLoanFailLogMapper;

import java.util.Date;
import java.util.List;

/**
 * API放款失败扩展
 *
 * @author liuyang
 * @date: 2021/4/4
 **/
public interface ExtTlLoanFailLogMapper extends TlLoanFailLogMapper {


    /**
     * 根据流水号查询id
     *
     * @param seqNo
     * @param tenantId
     * @param customerId
     * @return Long
     */
    Long selectIdBySeqNo(String seqNo, String tenantId, String customerId);


    List<TlLoanFailLog> selectByBatch(Date businessDate, String channel);

}